<!--#include file=../inc/conn.asp-->
<%
    pageid = request("id")
    set rs_readnum = Server.CreateObject("ADODB.recordset")
    sql = "SELECT readnumber from tb_articles where ID = " & pageid & ""
    rs_readnum.Open sql,conn,1,3
    rs_readnum("readnumber")=rs_readnum("readnumber")+1 
    rs_readnum.update
    Response.write ("document.write('"& rs_readnum("readnumber") & "')")
    rs_readnum.close:Set rs_readnum=Nothing
    conn.Close:set conn=Nothing
%>